﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Timesheet.Domain;

namespace Timesheet.Service
{
    public interface IUserService
    {
        IList<User> getAllUsers();

        IList<User> getAllUsersForManagement();

        bool CheckAccountLogin(string name, string encryptPassword);

        User GetByUsername(string name);

        void Update(User info);

        void Save(User company);

        void Delete(long id);

        void Delete(User company);

        User GetUserById(long id);
    }
}
